home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1998 May: Tool Chest / Dev.CD May 98 TC.toast / Tool Chest / Testing & Debugging / General tools / Report Error 2.0 / ModalScrollText.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-08-17  |  874 b   |  41 lines  |  [TEXT/KAHL]

  1. /*================================================================================
  2.     modalScrollText.h
  3.     
  4.     circa 1991 by Greg Anderson
  5.     greggor@apple.com
  6.     
  7.     FREE DISTRIBUTION--use and enjoy
  8.     
  9.     This file contains routines that display a modal dialog box
  10.     containing a scrolling item list
  11. ================================================================================*/
  12. #ifndef __MODALSCROLLTEXT__
  13. #define __MODALSCROLLTEXT__
  14.  
  15. #ifndef __DIALOGS__
  16. #include "Dialogs.h"
  17. #endif
  18.  
  19. #ifndef __EVENTS__
  20. #include "Events.h"
  21. #endif
  22.  
  23. #ifndef __TYPES__
  24. #include <Types.h>
  25. #endif
  26.  
  27. #ifndef __MEMORY__
  28. #include <Memory.h>
  29. #endif
  30.  
  31. #define kEditTextItem        2
  32. #define kScrollbarItem        3
  33.  
  34. #define kModalScrollID        30304
  35.  
  36. pascal Boolean        ScrollingTextFilter( DialogPtr dlog, EventRecord* event, short* itemHit );
  37. void                ModalScrollText( Str255 title, char* textToShow, Size lengthOfText );
  38.  
  39.  
  40. #endif
  41.